package com.itwn.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

@ToString
public class Movie {
    private Integer movieId;

    private String movieName;

    private String movieActor;

    private String movieDirector;

    private String movieTime;

    private Integer movieCollect;

    private Long moviePrice;

    private Integer movieBoxOffice;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date movieReleaseDate;

    private String movieCountry;

    private Integer movieState;

    private String movieReward;

    private String movieVideoPath;

    private Integer movieType;

    private Integer movieCount;

    private BigDecimal movieGrade;

    private String movieDetail;

    public Integer getMovieId() {
        return movieId;
    }

    public void setMovieId(Integer movieId) {
        this.movieId = movieId;
    }

    public String getMovieName() {
        return movieName;
    }

    public void setMovieName(String movieName) {
        this.movieName = movieName == null ? null : movieName.trim();
    }

    public String getMovieActor() {
        return movieActor;
    }

    public void setMovieActor(String movieActor) {
        this.movieActor = movieActor == null ? null : movieActor.trim();
    }

    public String getMovieDirector() {
        return movieDirector;
    }

    public void setMovieDirector(String movieDirector) {
        this.movieDirector = movieDirector == null ? null : movieDirector.trim();
    }

    public String getMovieTime() {
        return movieTime;
    }

    public void setMovieTime(String movieTime) {
        this.movieTime = movieTime == null ? null : movieTime.trim();
    }

    public Integer getMovieCollect() {
        return movieCollect;
    }

    public void setMovieCollect(Integer movieCollect) {
        this.movieCollect = movieCollect;
    }

    public Long getMoviePrice() {
        return moviePrice;
    }

    public void setMoviePrice(Long moviePrice) {
        this.moviePrice = moviePrice;
    }

    public Integer getMovieBoxOffice() {
        return movieBoxOffice;
    }

    public void setMovieBoxOffice(Integer movieBoxOffice) {
        this.movieBoxOffice = movieBoxOffice;
    }

    public Date getMovieReleaseDate() {
        return movieReleaseDate;
    }

    public void setMovieReleaseDate(Date movieReleaseDate) {
        this.movieReleaseDate = movieReleaseDate;
    }

    public String getMovieCountry() {
        return movieCountry;
    }

    public void setMovieCountry(String movieCountry) {
        this.movieCountry = movieCountry == null ? null : movieCountry.trim();
    }

    public Integer getMovieState() {
        return movieState;
    }

    public void setMovieState(Integer movieState) {
        this.movieState = movieState;
    }

    public String getMovieReward() {
        return movieReward;
    }

    public void setMovieReward(String movieReward) {
        this.movieReward = movieReward == null ? null : movieReward.trim();
    }

    public String getMovieVideoPath() {
        return movieVideoPath;
    }

    public void setMovieVideoPath(String movieVideoPath) {
        this.movieVideoPath = movieVideoPath == null ? null : movieVideoPath.trim();
    }

    public Integer getMovieType() {
        return movieType;
    }

    public void setMovieType(Integer movieType) {
        this.movieType = movieType;
    }

    public Integer getMovieCount() {
        return movieCount;
    }

    public void setMovieCount(Integer movieCount) {
        this.movieCount = movieCount;
    }

    public BigDecimal getMovieGrade() {
        return movieGrade;
    }

    public void setMovieGrade(BigDecimal movieGrade) {
        this.movieGrade = movieGrade;
    }

    public String getMovieDetail() {
        return movieDetail;
    }

    public void setMovieDetail(String movieDetail) {
        this.movieDetail = movieDetail == null ? null : movieDetail.trim();
    }
}